<?php

namespace app\user\model;

use think\Model;
use app\common\traits\model\TraitModel;
use Carbon\Carbon;

class QuitDeposit extends Model
{
	use TraitModel;
	
	protected $table = 'quit_deposit';

	// const ORDER_REFUND_ON = 102; //退款中
 	// const ORDER_REFUND_FINISH = -2;//退款完成

    public function createQuitDeposit($query=[])
    {
    	return self::create(array_merge($query, ['status' => 102]), true);
    }
}